package com.ztgf.shopping.models.service.shop;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.shop.ShopPayAmountLogSaveBO;
import com.ztgf.shopping.models.dto.shop.ShopPayAmountLogDTO;

import java.math.BigDecimal;

/**
 * 店铺年费保证金支付日志服务
 *
 * @author zhanghualang
 * @Date 2020-08-24 19:34:56
 */
public interface IShopPayAmountLogService extends IService<ShopPayAmountLogDTO> {
    boolean add(ShopPayAmountLogSaveBO saveBO);

    ShopPayAmountLogDTO getLast(Long shopId, BigDecimal money, Integer type);//对比最后一次支付

    ShopPayAmountLogDTO getBySerial(String paySerial);//根据流水号获取
}
